Skip to main content

MIDI

Library that allows you to play MIDI files (through converter)

Functions

createPlayer

sm.scrapcomputers.midi.createPlayer( data, speaker )

Creates a MIDI player

Arguments:

  • data [ table ] MIDI data generated from the conveter.
  • speaker [ Speaker ] The speaker to play it to

Returns: